package com.sxkf.template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户喜欢用户记录
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-08-20 11:48:58
 */
@Data
@TableName("t_user_like")
@ApiModel(value = "UserLike对象", description = "用户喜欢用户记录")
public class UserLike implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("id")
    private String id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty("被关注的店铺id")
    @TableField("store_id")
    private String storeId;

    @ApiModelProperty("被关注的人id")
    @TableField("like_user_id")
    private String likeUserId;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
}
